//
//  ModelOfCityServicesData.m
//  FreeTravel
//
//  Created by 徐康 on 16/9/14.
//  Copyright © 2016年 KX. All rights reserved.
//

#import "ModelOfCityServicesData.h"
#import "ModelOfCityServicePoi_list.h"
@implementation ModelOfCityServicesData
- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    NSMutableArray *arr=  [NSMutableArray array];
    if ([key isEqualToString:@"poi_list"]) {
        for (NSDictionary *dic in value) {
            ModelOfCityServicePoi_list *model = [ModelOfCityServicePoi_list modelWithDic:dic];
            [arr addObject:model];
        }
        self.poi_list = arr;
    }
}
@end
